<template>
  <div>
    <h2>我是a组件</h2>
    <p>query传参name: {{$route.query.name}}</p>
    <p>query传参age: {{$route.query.age}}</p>
  </div>
</template>



<script lang="ts" setup>
</script>


<style>
</style>